package com.whminwei.edu.api.dc.client;

import com.whminwei.common.exception.ServiceException;
import com.whminwei.common.feign.decoder.FullHttpRspnConfig;
import com.whminwei.common.http.rspn.FullHttpResponse;
import com.whminwei.edu.api.dc.dto.fspn.school.DcStaffFspn;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 *@author wangy
 *@since 2024/7/25
 */
@FeignClient(name = "xzzg-pt-school-service", contextId = "datacenter-staff", configuration = FullHttpRspnConfig.class)
public interface DcSchoolStaffClient {
    /**
     * 获取教职工列表
     *
     * @return com.whminwei.common.http.rspn.FullHttpResponse<com.whminwei.edu.api.school.dto.fspn.DcStaffFspn>
     * @author zhangjq
     * @since 2024-05-19
     */
    @PostMapping("/datacenter/getStaffList")
    FullHttpResponse<DcStaffFspn> getStaffList() throws ServiceException;


}
